home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global gnowseries, gnowtitle, gnowgroup, geprotect, gedited, lsortedt, gnowlistptr
- set ls to getAt(lseries, gnowseries)
- set lt to getAt(the ltitle of ls, gnowtitle)
- set lg to getAt(the lgroup of lt, gnowgroup)
- if editablecheck(gnowseries, gnowtitle, gnowgroup) = 1 then
- set gedited to 1
- deleteAt(the lgroup of lt, gnowgroup)
- if gnowgroup <> 1 then
- set gnowgroup to gnowgroup - 1
- end if
- if count(the lgroup of lt) = 0 then
- deleteAt(the ltitle of ls, gnowtitle)
- if gnowtitle <> 1 then
- set gnowtitle to gnowtitle - 1
- end if
- set gnowgroup to 1
- if count(the ltitle of ls) = 0 then
- deleteAt(lseries, gnowseries)
- if gnowseries <> 1 then
- set gnowseries to gnowseries - 1
- end if
- set gnowtitle to 1
- set gnowgroup to 1
- end if
- end if
- end if
- set lsortedt to [:]
- set gnowlistptr to 1
- makesortlist()
- set the puppet of sprite 26 to 0
- go("Top")
- end
-